﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;

namespace Commander.DataLayer {
	public class CreateSchema {
		public static ISessionFactory Create() {
			return new DatabaseSchemaBuilder().BuildSchema();
		}

		public static ISessionFactory Create(string file) {
			return new DatabaseSchemaBuilder().BuildSchema(file);
		}
	}
}
